{include file='common/head'}
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">演示</a>
        <a href="">
          <cite>黑名单</cite></a>
      </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
</div>
<div class="x-body">
    <div class="layui-row">
        <form class="layui-form layui-col-md12 x-so">
            <div class="layui-input-inline">
                <select name="cateid">
                    <option value="">搜索关键词</option>
                    <option value="uname">姓名</option>
                    <option value="company">企业名称</option>
                    <option value="phone">手机号</option>
                    <option value="uid">用户ID</option>
                </select>
            </div>
            <input type="text" name="name"  placeholder="请输入关键词" autocomplete="off" class="layui-input">
            <span>注册时间</span><input class="layui-input" placeholder="开始日" name="start" id="start">至
            <input class="layui-input" placeholder="截止日" name="end" id="end">
            <input type="submit" name="sub" class="layui-btn" value="开始搜索" lay-submit="" lay-filter="sreach">
        </form>
    </div>

    <table class="layui-table">
        <thead>
        <tr>
            <th>NO</th>
            <th>用户ID</th>
            <th>头像</th>
            <th>手机号码</th>
            <th>昵称</th>
            <th>企业名称</th>
            <th>信息流</th>
            <th>关注</th>
            <th>粉丝</th>
            <th>认证状态</th>
            <th>用户状态</th>
            <th>操作</th>
        </thead>
        {volist name='arr' id='arr' key='key'}
        <tbody>
        <tr>
            <td>{$key++}</td>
            <td>{$arr.uid}</td>
            <td>{if $arr.avatars_img==''}<img src="{$arr.head_portrait}" width="40">{else/}<img src="/upload/portrait/{$arr.avatars_img}" width="40">{/if}</td>
            <td>{$arr.phone}</td>
            {if $arr.uname==''}<td>{$arr.nickname}</td>{else /}<td>{$arr.uname}</td>{/if}
            <td>{$arr.company}</td>
            <td>{$arr.xinxi}</td>
            <td>{:count(array_filter(explode(',',$arr['guid'])))}</td>
            <td>{:count(array_filter(explode(',',$arr['fuid'])))}</td>
            <td style="text-align: center">{if $arr.rflg==4} 认证中 {elseif $arr.rflg==1} 认证成功<br/>{$arr.starttime|strtotime|date="Ymd",###}-{$arr.stoptime|strtotime|date="Ymd",###} {elseif $arr.rflg==2} 修改中 {elseif $arr.rflg==3} 过期{elseif $arr.rflg==0} 未认证 {/if}</td>
            <td class="td-status">{if $arr.uflg==1}正常{else/}锁定{/if}</td>
            <td class="td-status">
                <a title="查看" href="{:url('index/Black/chakan')}?uid={$arr.uid}">
                <i class="layui-icon">&#xe63c;</i>查看
                </a>
            </td>
        </tr>
        </tbody>
        {/volist}
    </table>
    <div class="page">
        <div>
            {$page}
        </div>
    </div>

</div>
</body>
</html>